package com.woniu.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 优惠券表
 * </p>
 *
 * @author heyuyu
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("优惠券")
public class TCoupon implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 优惠券id
     */
    @TableId(value = "coupon_id", type = IdType.AUTO)
    @ApiModelProperty("优惠券id")
    private Integer couponId;

    /**
     * 优惠券名
     */
    @ApiModelProperty("优惠券名")
    private String couponName;

    /**
     * 优惠金额
     */
    @ApiModelProperty("优惠金额")
    private Integer couponPrice;



}
